using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace CKY.AgentPlatform.Domain.EntityFrameworkCore
{
    /// <summary>
    /// Agent平台数据库上下文接口
    /// </summary>
    public interface IAgentPlatformDbContext
    {
        // 简化的接口，避免依赖EntityFrameworkCore的具体类型
        Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
        object GetDatabase();
        object Database { get; }
    }
}